Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: first order lag for vehicle control #369

Merged
merged 4 commits into from
Dec 2, 2024
Merged

Conversation

Autumn60
Copy link
Contributor

@Autumn60 Autumn60 commented Nov 25, 2024

Add first order delay for AWSIM vehicle control(acceleration and steering).
Since the public property names are unchanged, it is fully compatible with the existing Vehicle.cs.

This adds the configurable variable ([s]) to the Vehicle.cs inspector.
When the time constant is set to 0, the delay is disabled and an ideal response is obtained.

As a reminder, these variables are only set during the initialization of the FirstOrderLaggedFloat object, so parameter changes during the simulation run are not supported.

image

@Autumn60 Autumn60 requested a review from mackierx111 November 25, 2024 08:45
Signed-off-by: Autumn60 <[email protected]>
Copy link
Collaborator

@mackierx111 mackierx111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! LGTM

@mackierx111 mackierx111 merged commit 97238fa into main Dec 2, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants